import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/Home/index'  //首页
import Special from '@/pages/Special/index'   //专题
import Concern from '@/pages/Concern/index'   //关注
import AssessTarget from '@/pages/Home/AssessTarget/index'   //年度考核指标
import ClassifyRank from '@/pages/Home/ClassifyRank/index'    //地市分类排行
import ManageTarget from '@/pages/Home/ManageTarget/index'   //重点管控指标
import NonDelivery from '@/pages/Home/ManageTarget/NonDelivery'   //管控指标-室分-长期未交付
import NonRent from '@/pages/Home/ManageTarget/NonRent'   //管控指标-室分-交付未起租或部分起租
import SiteLocation from '@/pages/Home/ManageTarget/SiteLocation'   //管控指标-铁塔-站址交付及时率
import NonDeliveryTower from '@/pages/Home/ManageTarget/NonDeliveryTower'   //管控指标-铁塔-长期未交付
import CloseTimelyRate from '@/pages/Home/ManageTarget/CloseTimelyRate'   //管控指标-关闭及时率
import NewTower from '@/pages/Home/ManageTarget/NewTower'   //管控指标-铁塔-新建地面塔项目数
import OperatorTenant from '@/pages/Home/ManageTarget/OperatorTenant'   //管控指标-运营商平均每站租户数
import ActivePlann from '@/pages/Home/ManageTarget/ActivePlann'   //管控指标-室分主动规划项目
import LastOpenProject from '@/pages/Home/ManageTarget/LastOpenProject'   //管控指标-上年高铁地铁开通项目
import LastReformProject from '@/pages/Home/ManageTarget/LastReformProject'   //管控指标-上年高铁地铁改造项目
import DailyPaper from '@/pages/Home/DailyPaper/index'     //跨行业日报
import StationAccount from '@/pages/Home/StationAccount/index'  //单站核算
import Building from '@/pages/Building/index'  //建设中
import ResolveCase from '@/pages/Home/ResolveCase/index'  //解决方案
import AccountPaper from '@/pages/Home/AccountPaper/index'  //出账快报
import DataQuality from '@/pages/Home/DataQuality/index'  //数据质量分析
import ReportForm from '@/pages/Home/ReportForm/index'  //报表
import ReportFormChargeNew from '@/pages/Home/ReportForm/charge/index'  //能源充电日报专题-新
import ReportFormChargeFormNew from '@/pages/Home/ReportForm/charge/form'  //能源充电报表-新
import ReportFormCharge from '@/pages/Home/ReportForm/charge_old/index'  //能源充电日报专题-旧
import ReportFormChargeForm from '@/pages/Home/ReportForm/charge_old/form'  //能源充电报表-旧
import ReportFormDetailNew from '@/pages/Home/ReportForm/detail/index'  //能源换电日报专题-新
import ReportFormDetailFormNew from '@/pages/Home/ReportForm/detail/form'  //能源换电报表-新
import ReportFormDetail from '@/pages/Home/ReportForm/detail_old/index'  //能源换电日报专题-旧
import ReportFormDetailForm from '@/pages/Home/ReportForm/detail_old/form'  //能源换电报表-旧
import AccountPeriod from '@/pages/Home/AccountPeriod/index'  //账期

import BusinessEvaluate from '@/pages/Home/BusinessEvaluate/index'  //业支评价
import ComprehensiveScore from '@/pages/Home/ComprehensiveScore/index'  //综合得分
import ComprehensiveScoreReport from '@/pages/Home/ComprehensiveScore/indexReport'  //综合得分报表


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: {
        path: '/Home',

      }
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home,
      meta: {
        keepAlive: true
      }
    },
    { path: '/Special', name: 'Special', component: Special, },
    {
      path: '/Concern',
      name: 'Concern',
      component: Concern,
      meta: {
        keepAlive: true
      }
    },
    { path: '/AssessTarget', name: 'AssessTarget', component: AssessTarget, },
    { path: '/ClassifyRank', name: 'ClassifyRank', component: ClassifyRank, },
    { path: '/ManageTarget', name: 'ManageTarget', component: ManageTarget, },
    { path: '/NonDelivery', name: 'NonDelivery', component: NonDelivery, },
    { path: '/NonRent', name: 'NonRent', component: NonRent, },
    { path: '/SiteLocation', name: 'SiteLocation', component: SiteLocation, },
    { path: '/ActivePlann', name: 'ActivePlann', component: ActivePlann, },
    { path: '/NonDeliveryTower', name: 'NonDeliveryTower', component: NonDeliveryTower, },
    { path: '/CloseTimelyRate', name: 'CloseTimelyRate', component: CloseTimelyRate, },
    { path: '/NewTower', name: 'NewTower', component: NewTower, },
    { path: '/OperatorTenant', name: 'OperatorTenant', component: OperatorTenant, },
    { path: '/DailyPaper', name: 'DailyPaper', component: DailyPaper, },
    { path: '/StationAccount', name: 'StationAccount', component: StationAccount, },
    { path: '/Building', name: 'Building', component: Building, },
    {path: '/ResolveCase', name: 'ResolveCase', component: ResolveCase},
    {path: '/AccountPaper', name: 'AccountPaper', component: AccountPaper},
    {path: '/DataQuality', name: 'DataQuality', component: DataQuality},
    {path: '/ReportForm', name: 'ReportForm', component: ReportForm},
    {path: '/ReportFormDetail', name: 'ReportFormDetail', component: ReportFormDetail},
    {path: '/ReportFormDetailForm', name: 'ReportFormDetailForm', component: ReportFormDetailForm},
    {path: '/ReportFormDetailNew', name: 'ReportFormDetailNew', component: ReportFormDetailNew},
    {path: '/ReportFormDetailFormNew', name: 'ReportFormDetailFormNew', component: ReportFormDetailFormNew},
    {path: '/ReportFormCharge', name: 'ReportFormCharge', component: ReportFormCharge},
    {path: '/ReportFormChargeNew', name: 'ReportFormChargeNew', component: ReportFormChargeNew},

    {path: '/AccountPeriod', name: 'AccountPeriod', component: AccountPeriod},
    {path: '/ReportFormChargeForm', name: 'ReportFormChargeForm', component: ReportFormChargeForm},
    {path: '/LastOpenProject', name: 'LastOpenProject', component: LastOpenProject},
    {path: '/LastReformProject', name: 'LastReformProject', component: LastReformProject},
    {path: '/BusinessEvaluate', name: 'BusinessEvaluate', component: BusinessEvaluate},
    {path: '/ComprehensiveScore', name: 'ComprehensiveScore', component: ComprehensiveScore},
    {path: '/ComprehensiveScoreReport', name: 'ComprehensiveScoreReport', component: ComprehensiveScoreReport},

  ],
  mode: 'history',
})
